using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 规格
    /// </summary>
    public class Spec: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 颜色
        /// </summary>
        [Required]
        public string Color { get; set; }
        
        /// <summary>
        /// 其他规格
        /// </summary>
        [Required]
        public string Otherspec { get; set; }
        
        /// <summary>
        /// 图片
        /// </summary>
        [Required]
        public string Image { get; set; }
        
        /// <summary>
        /// 规格编码
        /// </summary>
        [Required]
        public string SpecNo { get; set; }
        
		
		public bool IsDeleted { get; set; }
    }
}